﻿using System;
using System.Collections.Generic;
using System.Text;
using Best.SmartCms.Dto.Enums;

namespace Best.SmartCms.Dto.Security
{
    /// <summary>
    /// 后台管理登录Dto
    /// </summary>
    public class AdminLoginDto
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserCode { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

    }



    /// <summary>
    /// 员工登录后的返回信息
    /// </summary>
    public class AdminLoginResponseDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string Uid { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// Token
        /// </summary>
        public string Token { get; set; }

    }
}
